package cn.hchaojie.camp.day04;

public class Department {
	private String name;
	private int no;

	private Employee manager;		// has-a 对象组合  符合is-a，就用继承

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getNo() {
		return no;
	}

	public void setNo(int no) {
		this.no = no;
	}

	public Employee getManager() {
		return manager;
	}

	public void setManager(Employee manager) {
		this.manager = manager;
	}
	
	
}
